package com.ljp.chat.client;

import com.dtflys.forest.annotation.Get;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public interface CurrencyClient {

    /**
     * Gets address by ip.
     * 获得当前ip的归属地
     *
     * @return the address by ip
     */
    @Get("http://121.41.46.175:1210/ljp/ip")
    Map<String, Object> getAddressByIp();
}
